import {createRouter,createWebHistory} from 'vue-router'


import IndexVue from '@/views/index.vue';
import LoginVue from '@/views/login.vue';
const routes=[
    {path:'/index',component:IndexVue,name:'Index',},
    {path:'/login',component:LoginVue,name:'Login',},
]
const router = createRouter({
    history:createWebHistory(),
    routes:routes
})

export default router